package com.hua.designpattern.creational.singleton;

/**
 * 
 * @author joshua
 * 
 *         线程安全，不延迟加载
 *
 */

public class Singleton {

	private static Singleton instance = new Singleton();

	private Singleton() {
	}

	public static Singleton getInstance() {

		return instance;
	}
}
